package com.bestcem.xm.user.service.dto.user;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 微信登陆查询返回参数
 * apps_mysql/auth/handlers.py:945
 *
 * @author Linzhijian <zhijian.lin@idiaoyan.com>
 * @version v1.0
 * @date 2022/3/29 15:30
 */
@Getter
@Setter
@ToString
public class WxV2OrgDTO {
    //(multi_org=True, org_code_list=org_list, session_id=session_id)
    @JsonProperty("multi_org")
    private Boolean multiOrg;

    @JsonProperty("org_code_list")
    private List<WxSwitchDTO> orgDisplayList;

    @JsonProperty("session_id")
    private String sessionId;
}
